package practise.service;

import practise.daomain.Account;

import java.util.List;

public interface IAccountService {

    List<Account> findAllAccount();

    Account findAccountById(Integer accountId);

    void saveAccount(Account account);

    void updateAccount(Account account);

    void deleteAccount(Integer accountId);

    //业务的管理
    void transfer(String sourceName, String targetName, Float money);
}
